package org.zjt.platform.demo.config.properties;

/**
 * @author <a href="juntao.zhang@qq.com">juntao.zhang</a>
 * @Description:
 * @Package org.zjt.platform.demo.config.properties
 * @date 2018/3/12 13:41
 * @see
 */

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "sentinel.redis")
@Data
public class WebProperties {

    /**
     * cors配置
     */
    private String corsAllowDomain = "*";

    private String corsAllowHeader = "*";

    private String corsAllowMethod = "*";

    private String corsUrl = "/*";



    /**
     * 异常页面配置
     */
    private String errView;


    /**
     * swagger 配置
     */
    private Boolean swaggerEnable;

    private String title;

    private String description;

    private String contact;

    private String version;

    private String swaggerBasePackage;


}
